cmake_minimum_required(VERSION 3.12)

project(PURE_C_SVD VERSION 1.0)
set(CMAKE_C_STANDARD 11)
add_executable(main 
    test_main.c 
    iam_matop.c
    iam_rasterdata.c
    iam_rasterview.c
    iam_svd_from_matlab.c
)

target_include_directories(main PRIVATE ${CMAKE_SOURCE_DIR} )
# target_link_directories(main PRIVATE)
# target_link_libraries(main PRIVATE)

if(MSVC)
    target_compile_options(main PUBLIC "/utf-8" "-D_CRT_SECURE_NO_WARNINGS")
endif()
